package com.zyx.security.common.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * <p>自定义验证码认证异常</p>
 *
 * @author Yaxi.Zhang
 * @since 2022/9/19 23:05
 */
public class KaptchaNotMatchException extends AuthenticationException {
    public KaptchaNotMatchException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public KaptchaNotMatchException(String msg) {
        super(msg);
    }
}
